package com.his.dictrole.vo;

import com.his.common.verification.group.Update;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author xiaoxiaoping
 * @Date 2020/3/9 10:32
 * @Version 1.0
 */
@Data
public class DictRoleVo {
    @NotEmpty(message = "角色id不能为空",groups = Update.class)
    private String id;
    @NotEmpty(message = "角色名称不能为空")
    private String roleName;
    @NotNull(message = "是否显示不能为空")
    private Integer isShow;

}
